Conversation
Frontend: TODO: change functionality of button to request targeted root object
…ePage::drawPlot()
Implement download button frontend for the layoutShow page This reverts commit c4d4bcc
…-tree-page-download-button
…-tree-page-download-button
…-tree-page-download-button
… download of the generated tarball to the frontend and cleanup after that
…r (from: LogManager.getLogger))
…-tree-page-download-button
…initialization of config and root directory
…initialization of config and root directory
…-tree-page-download-button
…st run and also now includes a check for the timed removal of child directories for downloads
…rom previous runs and deletes them from the filesystem.
…oads, and generating a tarball.
… callback based fs wherever possible.
…ot prompted for file download dialogue
… it no longer uses the loader as it does not support blobs
…-tree-page-download-button
…o add download functionality to the frontend, request directories seem to be made, but end in an error in the console.
…onality originating from QcDownloadService.test.js
…mises API correctly
…-tree-page-download-button
…async issues in tests
… remain to be fixed
… with comments on what it doesC
| */ | ||
|
|
||
| import { LogManager, HttpServer, WebSocket } from '@aliceo2/web-ui'; | ||
| import { QcDownloadService } from './lib/services/QcDownload.service.js'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
| import { errorHandler } from './../utils/utils.js'; | ||
|
|
||
| const CCDB_ETAG_TEST_PRIMARY = '8cd8dfca-02fd-11ef-97e1-c0a80209250c'; | ||
| const REQ_ID = '31hI8934a981438y'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
| /* global JSROOT */ | ||
|
|
||
| import { RemoteData } from '/js/src/index.js'; | ||
| import { jsonFetch } from './utils/jsonFetch.js'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
| const CCDB_ETAG_TEST_PRIMARY = '8cd8dfca-02fd-11ef-97e1-c0a80209250c'; | ||
| const CCDB_ETAG_TEST_SECONDARY = '426bb430-55ad-11eb-a04c-2a01cb150434'; | ||
| const CCDB_ETAG_TEST_ARRAY = [CCDB_ETAG_TEST_PRIMARY, CCDB_ETAG_TEST_SECONDARY]; | ||
| const CCDB_FILENAME_TEST_PRIMARY = 'TObject_1714047348446.root'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note test
| const CCDB_ETAG_TEST_SECONDARY = '426bb430-55ad-11eb-a04c-2a01cb150434'; | ||
| const CCDB_ETAG_TEST_ARRAY = [CCDB_ETAG_TEST_PRIMARY, CCDB_ETAG_TEST_SECONDARY]; | ||
| const CCDB_FILENAME_TEST_PRIMARY = 'TObject_1714047348446.root'; | ||
| const CCDB_FILENAME_TEST_SECONDARY = 'TObject_1610548820426.root'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note test
I have JIRA issue created
This PR adds: